#!/usr/bin/env python
# -*- coding:utf-8 -*-
#累计操作
li=[1,2,3,4,5,6,7,8]
print reduce(lambda a1,a2:a1+a2 ,li,10000)